#ifndef PLANE_H
#define PLANE_H
#include"bullet.h"
#include<QVector>
class plane
{
public:
    plane();
    plane(int A,int L,int T,int X,int Y);
public:
    int attack;
    int life;
    int type;
    int x;
    int y;
    int fly_speed=30;
    int move_speed=10;
    int bullet_pre=0;
    int bullet_fre=1000;
    int update_fre=50;
    bool exist=true;
    bool left=true;
    QVector<bullet> Bullets;
public:
    void AddBullet();
    void RenewPos();
};

#endif // PLANE_H
